package vp.usedcar.certificate.clientcode;

import java.util.ArrayList;
import java.util.List;


public class RequestDTO {
    private RequestHead requestHead;
    private EnlargeDTO enlargeDTO;
    private MainDTO mainDTO ;
    private ProductDTO productDTO;
    private CarDTO carDTO;
    private List<RelatedPartyDTO> relatedPartyList;
    private AdjustmentFeeDTO adjustmentFeeDTO;
    public RequestHead getRequestHead() {
        return requestHead;
    }
    public void setRequestHead(RequestHead requestHead) {
        this.requestHead = requestHead;
    }
    public EnlargeDTO getEnlargeDTO() {
        return enlargeDTO;
    }
    public void setEnlargeDTO(EnlargeDTO enlargeDTO) {
        this.enlargeDTO = enlargeDTO;
    }
    public MainDTO getMainDTO() {
        return mainDTO;
    }
    public void setMainDTO(MainDTO mainDTO) {
        this.mainDTO = mainDTO;
    }
    public ProductDTO getProductDTO() {
        return productDTO;
    }
    public void setProductDTO(ProductDTO productDTO) {
        this.productDTO = productDTO;
    }
    public CarDTO getCarDTO() {
        return carDTO;
    }
    public void setCarDTO(CarDTO carDTO) {
        this.carDTO = carDTO;
    }
    public List<RelatedPartyDTO> getRelatedPartyList() {
        return relatedPartyList;
    }
    public void setRelatedPartyList(List<RelatedPartyDTO> relatedPartyList) {
        this.relatedPartyList = relatedPartyList;
    }
    
    public void addRelatedParty(RelatedPartyDTO relatedParty){
        if(null == this.getRelatedPartyList()){
            this.setRelatedPartyList(new ArrayList<RelatedPartyDTO>());
        }
        this.getRelatedPartyList().add(relatedParty);
    }
	public AdjustmentFeeDTO getAdjustmentFeeDTO() {
		return adjustmentFeeDTO;
	}
	public void setAdjustmentFeeDTO(AdjustmentFeeDTO adjustmentFeeDTO) {
		this.adjustmentFeeDTO = adjustmentFeeDTO;
	}
    
    
}
